package com.grace.cms.common.enums;

public enum ArticleSortEnums {
    CREATE_TIME("create_time "),
    ARTICLE_TOP("article_top ");

    private String value;

    ArticleSortEnums(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public String getOrder(OrderEnums orderEnums) {
        return value + orderEnums.name().toLowerCase();
    }

}
